package readytest;

import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

/**
 * Created by leeping on 2016/3/21.
 */
public class SocktA {
	public static void main(String[] args) throws IOException {
		Socket socket = new Socket("localhost", 1101);
		DataOutputStream outputStream = new DataOutputStream(socket.getOutputStream());
		outputStream.writeUTF("1111");
	}
}
